// 修改手机
import React, { Component } from 'react';
import {
    View,
} from 'react-native';




var Dimensions = require('Dimensions');
var width = Dimensions.get('window').width;          //获取屏幕宽度
var height = Dimensions.get('window').height;
import Phone_top from './phone_top';
import Phone_body from './phone_body';


export default class Phone extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <View style={{ flex: 1 }}>
                <Phone_top navigation={this.props.navigation} />
                <Phone_body
                    phone={this.props.navigation.state.params.phone}
                    navigation={this.props.navigation} />
            </View>

        )
    }
}